from marshmallow import fields

from gis.common.django_ext.forms import EnumField, BaseSchema
from itpay.core.recharge_order.const import OrderCommentStar
from itpay.server_api.view.base import MchSignRequestSchema


class UploadSmsSchema(BaseSchema):
    id = fields.Integer(required=True)
    phone = fields.String(required=True)
    from_phone = fields.String(required=True)
    msg = fields.String(required=True)
    created_at = fields.DateTime(required=True)


class TongLueCallBackSchema(BaseSchema):
    order_id = fields.String(required=True)
    # verified_by_user_id = fields.Integer()
    # verified_by_username = fields.String()
    # verified_time = fields.Integer()
